import os
from core.dataconfig import db

dbDao=None
dbName="s.db"
dbPath=str(os.path.split(os.path.realpath(__file__))[0])+"\\"+dbName
print(dbPath)
if not dbDao:
    dbDao=db(dbPath)